package com.ms.education.course.service.feign;

import com.ms.education.course.entity.fo.Teacher;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>Project:education-UcenterFeignService
 * <p>Powered by ms on 2023-03-04 21:04:24
 *
 * @author ms
 * @version 1.0
 * @since 1.8
 */
@Component
@FeignClient(value = "service-ucenter")
public interface UcenterFeignService {

    @PostMapping("/ucenter/teacher/getTeacherByIds")
    public List<Teacher> getTeacherByIds(@RequestBody List<Integer> ids);
}
